package com.mck.entity;

import lombok.Getter;

/**
 * @version 1.0.0
 * @Author mck
 * @Date 2025/5/2 上午1:14
 * @注释
 */


@Getter
public class BusinessException extends RuntimeException{
    private final int code;

    public BusinessException(int code, String message) {
        super(message);
        this.code = code;
    }

}
